
#![no_std]
#![no_main]

use panic_halt as _;
use cortex_m_rt::entry;
// use embedded_hal::digital::OutputPin;
use stm32f1xx_hal::{pac, prelude::*};


#[entry]
fn main() -> ! {

    let p = pac::Peripherals::take().unwrap();

    // let mut rcc = p.RCC.constrain();
    let mut gpiob = p.GPIOB.split();

    gpiob
        .pb0
        .into_push_pull_output(&mut gpiob.crl)
        .set_low();

    loop {}
}
